<?php
namespace App\Event\Shop;

use App\Event\Event;
use App\Repository\UserRepository;

// 店铺审核通过事件
class StatusEvent extends Event
{
    public $shop;
    
    public $user;
    
    public function __construct($shop)
    {
        $this->shop = $shop;
        $this->user = UserRepository::make($this->shop->user);
    }
}